<?php
namespace App\Socket\Controller\WebSocket;
use App\Socket\Logic\GameLogic;
class Room extends Base
{
    /**
     * 准备     
     * @return void
     */
    public function ready(){                
        GameLogic::ready($this->client());
    }

    /**
     * 叫分抢地主     
     * @return void
     */
    public function fraction(){
        $param = $this->request()->getArgs();        
        $num = $param["number"];      
        GameLogic::faction($this->client(),$num);
    }


}